# Tanım: GNOME için bir metin düzenleyici
# URL: http://www.gnome.org/
# Paketçi: yasarciv67
# Gerekler: gsettings-desktop-schemas desktop-file-utils shared-mime-info gtk-update-icon-cache enchant gtk3 gtksourceview3 gvfs libpeas yelp-xsl enchant iso-codes libsoup libzeitgeist python-gobject python 
# Grup: ofis

isim=gedit
surum=3.22.1
devir=1
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)

derle() {
	cd $isim-$surum
	update-mime-database /usr/share/mime 
	gdk-pixbuf-query-loaders --update-cache
	./configure --prefix=/usr \
	--sysconfdir=/etc --localstatedir=/var \
	--libexecdir=/usr/lib \
	--disable-updater \
	--disable-schemas-compile \
	--enable-python \
	--disable-spell 
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
	rm -rf $PKG/usr/share/help
}
